#ifndef  __BSP_STM_H
#define __BSP_STM_H
#include "stm32f10x.h"

#define NVIC_PRI 
/*System frequency*/
/*һ��systick����1/sysclk,��1/72 000��000hz  s
�������ֵ����̫�����ֵ����Ϊ0xFFFFFF��������������us��ms��
����Ϊ200us
*/
/**/ 
#define SystemCoreClock  72000000 
#define TICKs_200us   SystemCoreClock/1000/5
#define TICKs_1ms     TICKs_200us*5

#define TICKs_FOR_SET  TICKs_1ms

extern uint32_t Systick;
extern uint32_t Systick_10ms;
extern uint32_t Systick_50ms;
extern uint32_t Systick_100ms;
extern uint32_t Systick_500ms;
extern uint32_t Systick_1000ms;
extern uint32_t delaycnt;
extern uint8_t dlyflg;
extern void stm0_init(void);

#endif

